#include <iostream>
#include "Line.h"
#include "Point.h"
using namespace std;
int main() {

//    Line* l = new Line(2,2,4,4);
    const Line* l = new Line(1,1,3,3);
    l->Show_info();
    cout<<"对象指针大小:"<<sizeof(l)<<"\n";
    //包含两个指针start,end，每个指针大小为8
    cout<<"对象大小:"<<sizeof(Line)<<"\n";
    cout<<"64位系统下普通指针大小:"<<sizeof(nullptr)<<"\n";
    delete l;
    return 0;
}